package cn.example.vip.mall.pay;

import cn.example.vip.mall.pay.config.RocketMQConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.web.bind.annotation.CrossOrigin;

@CrossOrigin
@Import({
	RocketMQConfig.class
})
@MapperScan("cn.example.vip.mall.pay.mapper")
@SpringBootApplication
public class MallPayApplication {
	public static void main(String[] args) {
		SpringApplication.run(MallPayApplication.class, args);
	}
}
